package com.jiazhong.basic.pack0309;

public class DemoD3 {
    private void a(String a){
        System.out.println("a方法中接受到的a值是：" + a);
        a = "bb";
        System.out.println(a);
    }

    private void b(String a){
        System.out.println("b方法中接受到的a值是：" + a);
        a(a);
        System.out.println("调用完a方法后a的值是：" + a);
    }

    public static void main(String[] args) {
        DemoD3 d1 = new DemoD3();
        String str = new String("aa");
        d1.b(str);
    }
}
